package pokerantani.v2.model.actions;

import pokerantani.v2.model.Player;

public class Raise extends Bet {
	public final float betFrom;
	public final boolean allIn;
	
	public Raise(Player player, float betFrom, float betAmount) {
		super(player, betAmount);
		this.betFrom = betFrom;
		allIn = false;
	}
	
	public Raise(Player player, float betFrom, float betAmount, boolean allIn) {
		super(player, betAmount);
		this.betFrom = betFrom;
		this.allIn = allIn;
	}
	
	public String toString() {
		return player + " raises " + betFrom + " to " + betAmount;
	}
}